<?php

namespace App\Models\SystemManagement;

use App\Models\Api\Files;
use Illuminate\Database\Eloquent\Model;

class EmployeeFile extends Model
{
    protected $table = 'employee_files';
    protected $fillable = ['employee_id','file_id'];
    protected $hidden = ['created_at','updated_at'];

    function file()
    {
        return $this->belongsTo(Files::class,'file_id');
    }
}
